import sys

from cx_Freeze import setup, Executable

base = None
platform = sys.platform
if platform == "win32":
    base = "Win32GUI"
#    base = "Console"

elif platform == "linux2":
    pass
    

buildOptions = dict(
        excludes =['games',],
        include_files = [
            ('setup/deps/%s'%platform, '.'),
            'games',
            'readme.txt',
        ],
        icon = 'ui/rc/logo.ico',
        optimize = 2,
#        compressed = False,

)

setup(
        name = "python-poker",
        version = "0.3",
        description = "python-poker",
        executables = [Executable("main.py", base=base)],
        options = dict(build_exe = buildOptions),
)
